<ul class="list-album-photo">
	<?php if ($thumb_album_default !== null):?>
				<li>
			    	<a class="thumb-album-small" href="javascript: void(0);" onclick="viewListPhoto(0,'D');"><img src="<?php echo Yii::app()->request->baseUrl.'/images/';?>Member/173_150/<?php echo $thumb_album_default->image;?>" alt="<?php echo $thumb_album_default->title;?>"/></a>
			    	<a class="title-album-small" href="javascript: void(0);" onclick="viewListPhoto(0,'D');"><span>Ảnh tổng hợp</span></a>
				</li>
	<?php endif;?>
	<?php if ($thumb_album_banner !== null):?>
				<li>
			    	<a class="thumb-album-small" href="javascript: void(0);" onclick="viewListPhoto(0,'C');"><img src="<?php echo Yii::app()->request->baseUrl.'/images/';?>Banner/173_150/<?php echo $thumb_album_banner->originimage;?>" alt="Album ảnh bìa"/></a>
			    	<a class="title-album-small" href="javascript: void(0);" onclick="viewListPhoto(0,'C');"><span>Ảnh bìa</span></a>
				</li>
	<?php endif;?>
	<?php if ($thumb_album_avatar !== null):?>
			<li>
			    	<a class="thumb-album-small" href="javascript: void(0);" onclick="viewListPhoto(0,'A');"><img src="<?php echo Yii::app()->request->baseUrl.'/images/';?>Avatar/173_150/<?php echo $thumb_album_avatar->originimage;?>" alt="Album ảnh đại diện" /></a>
			    	<a class="title-album-small" href="javascript: void(0);" onclick="viewListPhoto(0,'A');"><span>Ảnh đại diện</span></a>
				</li>
	<?php endif;?>
	<?php foreach($album as $data):?>
				<li>
			    	<a class="thumb-album-small" href="javascript: void(0);" onclick="viewListPhoto(<?php echo $data->id;?>,'M');"><img src="<?php echo Yii::app()->request->baseUrl.'/images/';?>Member/173_150/<?php echo $thumbAlbum[$data->id];?>" alt="<?php echo $data->title;?>" /></a>
			    	<a class="title-album-small" href="javascript: void(0);" onclick="viewListPhoto(<?php echo $data->id;?>,'M');"><span><?php echo $data->title;?></span></a>
				</li>
	<?php endforeach;?>	
</ul>